package com.opennews.openplatform.familyexpenseapi.dto.income.expense.detail.type

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import jakarta.validation.constraints.NotEmpty

@JsonIgnoreProperties(ignoreUnknown = true)
class IncomeExpenseDetailTypeWithNamesDto : BaseIncomeExpenseDetailTypeDto() {
    @field:NotEmpty(message = "names can't be blank")
    lateinit var names: List<String>
}